Filter hook 'manage_{$screen->id}_columns'
in WP Core File wp-admin/includes/screen.php at line 37
Description
Filters the column headers for a list table on a specific screen. The dynamic portion of the hook name, `$screen->id`, refers to the ID of a specific screen. For example, the screen ID for the Posts list table is edit-post, so the filter for that screen would be manage_edit-post_columns.
Occurrences
Filename |
Line Number |
wp-admin/includes/screen.php |
37 |
Parameters
Type |
Name |
Description |
string[] |
$columns |
The column header labels keyed by column ID. |
PHP Doc
/**
* Filters the column headers for a list table on a specific screen.
*
* The dynamic portion of the hook name, `$screen->id`, refers to the
* ID of a specific screen. For example, the screen ID for the Posts
* list table is edit-post, so the filter for that screen would be
* manage_edit-post_columns.
*
* @since 3.0.0
*
* @param string[] $columns The column header labels keyed by column ID.
*/